package com.dwxt.cdms.dao.info;

import com.dwxt.cdms.entity.info.Information;
import com.dwxt.cdms.entity.info.InformationExample;
import com.dwxt.cdms.entity.info.InformationWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface InformationMapper {
    int countByExample(InformationExample example);

    int deleteByExample(InformationExample example);

    int deleteByPrimaryKey(String id);

    int insert(InformationWithBLOBs record);

    int insertSelective(InformationWithBLOBs record);

    List<InformationWithBLOBs> selectByExampleWithBLOBs(InformationExample example);

    List<Information> selectByExample(InformationExample example);

    InformationWithBLOBs selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") InformationWithBLOBs record, @Param("example") InformationExample example);

    int updateByExampleWithBLOBs(@Param("record") InformationWithBLOBs record, @Param("example") InformationExample example);

    int updateByExample(@Param("record") Information record, @Param("example") InformationExample example);

    int updateByPrimaryKeySelective(InformationWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(InformationWithBLOBs record);

    int updateByPrimaryKey(Information record);

    int updateByPriority(@Param("priority")Integer priority);
}